package com.jinmdz.fmis.api.model.config.dictionary;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * 冷藏状态编码
 *
 * @author LiCongLu
 * @date 2020-02-10 15:56
 */
@Component("coldStorageStatusCode")
@PropertySource(value = {"classpath:dictionary-code.properties"}, encoding = "utf-8")
@ConfigurationProperties(prefix = "refrigerated.state")
public class ColdStorageStatusCode {
    /**
     * 已预订
     */
    private Integer yiYuDing;

    /**
     * 未入藏
     */
    private Integer weiRuCang;

    /**
     * 已入藏
     */
    private Integer yiRuCang;

    /**
     * 已出藏
     */
    private Integer yiChuCang;

    /**
     * 已临时出藏
     */
    private Integer yiLinShiChuCang;

    public Integer getYiYuDing() {
        return yiYuDing;
    }

    public ColdStorageStatusCode setYiYuDing(Integer yiYuDing) {
        this.yiYuDing = yiYuDing;
        return this;
    }

    public Integer getWeiRuCang() {
        return weiRuCang;
    }

    public ColdStorageStatusCode setWeiRuCang(Integer weiRuCang) {
        this.weiRuCang = weiRuCang;
        return this;
    }

    public Integer getYiRuCang() {
        return yiRuCang;
    }

    public ColdStorageStatusCode setYiRuCang(Integer yiRuCang) {
        this.yiRuCang = yiRuCang;
        return this;
    }

    public Integer getYiChuCang() {
        return yiChuCang;
    }

    public ColdStorageStatusCode setYiChuCang(Integer yiChuCang) {
        this.yiChuCang = yiChuCang;
        return this;
    }

    public Integer getYiLinShiChuCang() {
        return yiLinShiChuCang;
    }

    public ColdStorageStatusCode setYiLinShiChuCang(Integer yiLinShiChuCang) {
        this.yiLinShiChuCang = yiLinShiChuCang;
        return this;
    }
}
